import { LAYOUT } from '@/router/constants';
import type { RouteRecordItem } from 'vc/src/router';

const GreenInsurance: RouteRecordItem = {
  path: '/greenInsurance',
  component: LAYOUT,
  meta: {
    title: '绿色保险',
    menuIndex: 0,
    subMenuIndex: 1
  },
  children: [
    {
      path: 'included',
      component: () => import('@/views/modules/greenInsurance/included/index.vue'),
      meta: {
        title: '纳入环责险企业'
      }
    },
    {
      path: 'insured',
      component: () => import('@/views/modules/greenInsurance/insured/index.vue'),
      meta: {
        title: '投保环责险企业'
      }
    },
    {
      path: 'subsidies',
      component: () => import('@/views/modules/greenInsurance/subsidies/index.vue'),
      meta: {
        title: '环责险补贴企业'
      }
    }
  ]
};

export default GreenInsurance;
